package com.mobisys.live.dao.model;

import com.mobisys.live.util.UUIDUtil;

import java.util.Date;

public class UserVideoWatchingRecord {
    private String id;

    private String videoId;

    private String userId;

    private String visitIp;

    private Byte ua;

    private Date visitTime;

    private Date leaveTime;

    public UserVideoWatchingRecord(){
        this.id= UUIDUtil.getUUID();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private String type;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId == null ? null : videoId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getVisitIp() {
        return visitIp;
    }

    public void setVisitIp(String visitIp) {
        this.visitIp = visitIp == null ? null : visitIp.trim();
    }

    public Byte getUa() {
        return ua;
    }

    public void setUa(Byte ua) {
        this.ua = ua;
    }

    public Date getVisitTime() {
        return visitTime;
    }

    public void setVisitTime(Date visitTime) {
        this.visitTime = visitTime;
    }

    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }
}